<title>工资项目管理</title>

<div class="page-header">
	<h1>
		工资管理 <small> <i class="ace-icon fa fa-angle-double-right"></i>
			工资项目管理
		</small>
	</h1>

</div>

<div class="row">
	<div class="col-xs-12">
		<div class="widget-box">
			<div class="widget-header">
				<h4 class="widget-title">查询条件</h4>
				<span class="widget-toolbar"> <a
					class="btn btn-primary btn-xs  search_btn">搜索</a> <a
					class="btn btn-xs" onclick="$('#report-search-form')[0].reset()">重置</a>
				</span>
			</div>
			<div class="widget-body" style="display: block;">
				<div class="widget-main">
					<form method="get" name="searchForm" id="report-search-form">
						<div class="row">
							<div
								class="col-xs-12 col-sm-6 col-md-5 col-md-push-1 col-lg-4 col-lg-push-2">
								<div class="space space-4"></div>
								<label>名称</label> 
								<input name="salary_item_name" type="text" id="salary_item_name" value="" class="form-control search_salary_item_name" />
								<div class="space space-4"></div>
							</div>
							<div class="col-xs-12 col-sm-6 col-md-5 col-md-push-1 col-lg-4 col-lg-push-2">
								<div class="space space-4"></div>
								<label>类型</label> 
								<select id="dep_type" name="salary_item_type"
									class="form-control search_salary_item_type">
									<option value="" selected>所有</option>
									<option value="固定项目">固定项目</option>
									<option value="计算项目">计算项目</option>
									<option value="导入项目">导入项目</option>
									<option value="实发项目">实发项目</option>
								</select>
								<div class="space space-4"></div>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>

		<div class="hr hr-double hr-dotted hr10"></div>

		<!-- result table -->
		<div class="row search_table">
			<div class="col-xs-12">
				<!-- PAGE CONTENT BEGINS -->
				<div class="row">
					<div class="col-xs-12">
						<table id="simple-table"
							class="table table-striped table-bordered table-hover">
							<thead>
								<tr>
									<th>名称</th>
									<th>类型</th>
									<th>显示</th>
									<th><i
										class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i> 计算公式
									</th>
									<th class="hidden-480">顺序</th>
									<th>增加项</th>
									<th>
										<button class="btn btn-xs btn-success salary_item_add_btn">
											<i class="ace-icon fa fa-plus bigger-120"></i>
										</button>
									</th>
								</tr>
							</thead>

							<tbody class="search_container">
							</tbody>
						</table>
					</div>
					<!-- /.span -->
				</div>
			</div>
		</div>
	</div>
</div>

<div class="modal fade salary_add_modal" id="modal" tabindex="-1"
	role="dialog">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">添加工资项目</h4>
			</div>
			<div class="modal-body">
				<form class="add_dep_form">
					<div class="row">
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">名称</label> 
								<input
									type="text" id="form-field-1" placeholder=""
									class="form-control salary_add_name" value="" />
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">类型</label> 
								<select
									id="form-field-1" class="form-control salary_add_type">
									<option value="固定项目" selected>固定项目</option>
									<option value="计算项目">计算项目</option>
									<option value="导入项目">导入项目</option>
									<option value="实发项目">实发项目</option>
								</select>
							</div>
						</div>
					</div>
					<div class="row salary_add_cal">
						<div class="col-sm-12">
							<div class="form-group">
								<label class="control-label" for="form-field-1">计算公式</label>
								<div class="row">
									<div class="col-sm-4">
										<div class="form-group">
											<select
												id="form-field-1" class="form-control cal_item_par1">
											</select>
										</div>
									</div>
									<div class="col-sm-3">
										<div class="form-group">
											<select class="form-control cal_item_op">
												<option value="+">+</option>
												<option value="-">-</option>
												<option value="*">*</option>
												<option value="/">/</option>
											</select>
										</div>
									</div>
									<div class="col-sm-4">
										<div class="form-group">
											<input type="text" placeholder="" class="cal_item_par2" value="" />
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-xs-6">
							<label class="control-label" for="form-field-1">顺序(from后台)</label>
							<select class="form-control salary_add_order">
							</select>  
						</div>
						<div class="col-xs-6">
							<label class="control-label" for="form-field-1">增加项</label>
							<select class="form-control salary_add_add">
									<option value="增加">增加</option>
									<option value="减少">减少</option>
									<option value="不影响">不影响</option>
							</select> 
						</div>
					</div>
					<div class="row">
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">显示</label> 
								<select class="form-control salary_add_show">
									<option value="是">是</option>
									<option value="否">否</option>
								</select> 
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">备注</label> <input
									type="text" id="form-field-1" placeholder=""
									class="form-control salary_add_memo" value="" />
							</div>
						</div>
					</div>
					<hr />
					<div class="alert_container row col-xs-6"></div>
				</form>
			</div>
			<div class="modal-footer">
				<input type="button" class="btn btn-success item_add_submit_btn" data-dismiss="modal"
					value="添加"> 
				<input type="button" class="btn btn-default"
					data-dismiss="modal" value="关闭">
			</div>
		</div>
	</div>
</div>

<div class="modal fade salary_update_modal" id="modal" tabindex="-1"
	role="dialog">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">更改工资项目</h4>
			</div>
			<div class="modal-body">
				<form class="add_dep_form">
					<div class="row">
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">名称</label> 
								<input
									type="text" id="form-field-1" placeholder=""
									class="form-control salary_update_name" value="" />
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">类型</label> 
								<select
									id="form-field-1" class="form-control salary_update_type">
									<option value="固定项目" selected>固定项目</option>
									<option value="计算项目">计算项目</option>
									<option value="导入项目">导入项目</option>
									<option value="实发项目">实发项目</option>
								</select>
							</div>
						</div>
					</div>
					<div class="row salary_update_cal">
						<div class="col-sm-12">
							<div class="form-group">
								<label class="control-label" for="form-field-1">计算公式</label>
								<div class="row salary_update_cal">
									<div class="col-sm-4">
										<div class="form-group">
											<select
												id="form-field-1" class="form-control cal_item_par1">
												<option value="固定项目1" selected>固定项目1</option>
												<option value="计算项目1">计算项目1</option>
												<option value="导入项目1">导入项目1</option>
												<option value="实发项目1">实发项目1</option>
											</select>
										</div>
									</div>
									<div class="col-sm-3">
										<div class="form-group">
											<select class="form-control cal_item_op">
												<option value="+">+</option>
												<option value="-">-</option>
												<option value="*">*</option>
												<option value="/">/</option>
											</select>
										</div>
									</div>
									<div class="col-sm-4">
										<div class="form-group">
											<input type="text" placeholder="" class="cal_item_par2" value="" />
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<div class="row">
						<div class="col-xs-6">
							<label class="control-label" for="form-field-1">顺序</label> 
							<select class="form-control salary_update_order">
									<option value="1">第一位</option>
									<option value="2">第二位</option>
									<option value="3">第三位</option>
							</select>  
						</div>
						<div class="col-xs-6">
							<label class="control-label" for="form-field-1">增加项</label>
							<select class="form-control salary_update_add">
									<option value="增加">增加</option>
									<option value="减少">减少</option>
									<option value="不影响">不影响</option>
							</select> 
						</div>
					</div>
					<div class="row">
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">显示</label> 
								<select class="form-control salary_update_show">
									<option value="是">是</option>
									<option value="否">否</option>
								</select> 
							</div>
						</div>
						<div class="col-sm-6">
							<div class="form-group">
								<label class="control-label" for="form-field-1">备注</label> 
								<input
									type="text" id="form-field-1" placeholder=""
									class="form-control salary_update_memo" value="" />
							</div>
						</div>
					</div>
					<hr />
					<div class="alert_container row col-xs-6"></div>
				</form>
			</div>
			<div class="modal-footer">
				<input type="button" class="btn btn-success" data-dismiss="modal"
					value="添加"> <input type="button" class="btn btn-default"
					data-dismiss="modal" value="关闭">
			</div>
		</div>
	</div>
</div>


<div class="modal fade salary_update_cal_modal" id="modal" tabindex="-1"
	role="dialog">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">设定计算公式</h4>
			</div>
			<div class="modal-body">
				<div class="row ">
						<div class="col-sm-12">
							<div class="form-group">
								<label class="control-label" for="form-field-1">计算公式</label>
								<div class="row">
									<div class="col-sm-4">
										<div class="form-group">
											<select
												id="form-field-1" class="form-control cal_item_par1">
												<option value="1">固定项目1</option>
												<option value="2">计算项目1</option>
												<option value="3">导入项目1</option>
												<option value="4">实发项目1</option>
											</select>
										</div>
									</div>
									<div class="col-sm-3">
										<div class="form-group">
											<select class="form-control cal_item_op">
												<option value="+">+</option>
												<option value="-">-</option>
												<option value="*">*</option>
												<option value="/">/</option>
											</select>
										</div>
									</div>
									<div class="col-sm-4">
										<div class="form-group">
											<input type="text" placeholder="" class="cal_item_par2" value="" />
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
			</div>
			<div class="modal-footer">
				<input type="button" class="btn btn-success" data-dismiss="modal"
					value="保存"> <input type="button" class="btn btn-default"
					data-dismiss="modal" value="关闭">
			</div>
		</div>
	</div>
</div>


<div class="modal fade salary_delete_modal" id="modal" tabindex="-1"
	role="dialog">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-label="Close">
					<span aria-hidden="true">&times;</span>
				</button>
				<h4 class="modal-title">删除工资项目</h4>
			</div>
			<div class="modal-body">
				<div class="alert alert-danger">
					<strong> <i class="ace-icon fa fa-times"></i>
					</strong> 确认删除<br>
				</div>
			</div>
			<div class="modal-footer">
				<input type="button" class="btn btn-success" data-dismiss="modal"
					value="删除"> <input type="button" class="btn btn-default"
					data-dismiss="modal" value="关闭">
			</div>
		</div>
	</div>
</div>

<div class="modal fade alert_modal" id="modal" tabindex="-1"
			role="dialog">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-body">
				<div class="alert alert-danger alert_info">
					<strong> <i class="ace-icon fa fa-times"></i>
					</strong>没有搜索结果<br>
				</div>
			</div>
		</div>
	</div>
</div>


<script type="text/javascript">
	var scripts = [ null, null ];
	$('.page-content-area').ace_ajax('loadScripts', scripts, function() {
		jQuery(function($) {
		});
	});
</script>
<script type="text/javascript" src="resources/youxiao/js/salary.item.real.js"></script>